#!/bin/sh
# Updated by Wei on 20141026
# Usage:
# ./scriptForRunningOnlinePoppingProcess_ForJuan_GOV2.sh unigramFromWei ptChangedFromJuan_ptPowTo1 
# $1: identifier for unigram or bigram
# $1 == "unigramFromWei": unigram from Wei
# $1 == "$1": bigram from Juan

# $2: identifier for a specifc folder and file
# e.g. $2 == "ptChangedFromJuan_ptPowToDot7"

# $3: value for dyanmic weight
# NO USE FOR bigram
# important use FOR unigram

echo "3 arguments needed"
echo $1
echo $2
echo $3

echo "./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_0M_1M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_0M_1M\;dynamic_weight=$3\;both_collection_lower_bound=0\;both_collection_upper_bound=1000000\;"
exit

#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_0M_1M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_0M_1M\;dynamic_weight=$3\;both_collection_lower_bound=0\;both_collection_upper_bound=1000000\; > onlineSubPostingPopping_$2_$3_0M_1M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_1M_2M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_1M_2M\;dynamic_weight=$3\;both_collection_lower_bound=1000000\;both_collection_upper_bound=2000000\; > onlineSubPostingPopping_$2_$3_1M_2M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_2M_3M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_2M_3M\;dynamic_weight=$3\;both_collection_lower_bound=2000000\;both_collection_upper_bound=3000000\; > onlineSubPostingPopping_$2_$3_2M_3M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_3M_4M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_3M_4M\;dynamic_weight=$3\;both_collection_lower_bound=3000000\;both_collection_upper_bound=4000000\; > onlineSubPostingPopping_$2_$3_3M_4M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_4M_5M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_4M_5M\;dynamic_weight=$3\;both_collection_lower_bound=4000000\;both_collection_upper_bound=5000000\; > onlineSubPostingPopping_$2_$3_4M_5M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_5M_6M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_5M_6M\;dynamic_weight=$3\;both_collection_lower_bound=5000000\;both_collection_upper_bound=6000000\; > onlineSubPostingPopping_$2_$3_5M_6M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_6M_7M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_6M_7M\;dynamic_weight=$3\;both_collection_lower_bound=6000000\;both_collection_upper_bound=7000000\; > onlineSubPostingPopping_$2_$3_6M_7M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_7M_8M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_7M_8M\;dynamic_weight=$3\;both_collection_lower_bound=7000000\;both_collection_upper_bound=8000000\; > onlineSubPostingPopping_$2_$3_7M_8M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_8M_9M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_8M_9M\;dynamic_weight=$3\;both_collection_lower_bound=8000000\;both_collection_upper_bound=9000000\; > onlineSubPostingPopping_$2_$3_8M_9M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_9M_10M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_9M_10M\;dynamic_weight=$3\;both_collection_lower_bound=9000000\;both_collection_upper_bound=10000000\; > onlineSubPostingPopping_$2_$3_9M_10M_LOG&

#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_10M_11M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_10M_11M\;dynamic_weight=$3\;both_collection_lower_bound=10000000\;both_collection_upper_bound=11000000\; > onlineSubPostingPopping_$2_$3_10M_11M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_11M_12M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_11M_12M\;dynamic_weight=$3\;both_collection_lower_bound=11000000\;both_collection_upper_bound=12000000\; > onlineSubPostingPopping_$2_$3_11M_12M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_12M_13M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_12M_13M\;dynamic_weight=$3\;both_collection_lower_bound=12000000\;both_collection_upper_bound=13000000\; > onlineSubPostingPopping_$2_$3_12M_13M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_13M_14M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_13M_14M\;dynamic_weight=$3\;both_collection_lower_bound=13000000\;both_collection_upper_bound=14000000\; > onlineSubPostingPopping_$2_$3_13M_14M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_14M_15M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_14M_15M\;dynamic_weight=$3\;both_collection_lower_bound=14000000\;both_collection_upper_bound=15000000\; > onlineSubPostingPopping_$2_$3_14M_15M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_15M_16M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_15M_16M\;dynamic_weight=$3\;both_collection_lower_bound=15000000\;both_collection_upper_bound=16000000\; > onlineSubPostingPopping_$2_$3_15M_16M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_16M_17M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_16M_17M\;dynamic_weight=$3\;both_collection_lower_bound=16000000\;both_collection_upper_bound=17000000\; > onlineSubPostingPopping_$2_$3_16M_17M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_17M_18M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_17M_18M\;dynamic_weight=$3\;both_collection_lower_bound=17000000\;both_collection_upper_bound=18000000\; > onlineSubPostingPopping_$2_$3_17M_18M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_18M_19M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_18M_19M\;dynamic_weight=$3\;both_collection_lower_bound=18000000\;both_collection_upper_bound=19000000\; > onlineSubPostingPopping_$2_$3_18M_19M_LOG&
#
#./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_19M_20M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_19M_20M\;dynamic_weight=$3\;both_collection_lower_bound=19000000\;both_collection_upper_bound=20000000\; > onlineSubPostingPopping_$2_$3_19M_20M_LOG&

./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_20M_21M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_20M_21M\;dynamic_weight=$3\;both_collection_lower_bound=20000000\;both_collection_upper_bound=21000000\; > onlineSubPostingPopping_$2_$3_20M_21M_LOG&

./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_21M_22M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_21M_22M\;dynamic_weight=$3\;both_collection_lower_bound=21000000\;both_collection_upper_bound=22000000\; > onlineSubPostingPopping_$2_$3_21M_22M_LOG&

./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_22M_23M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_22M_23M\;dynamic_weight=$3\;both_collection_lower_bound=22000000\;both_collection_upper_bound=23000000\; > onlineSubPostingPopping_$2_$3_22M_23M_LOG&

./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_23M_24M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_23M_24M\;dynamic_weight=$3\;both_collection_lower_bound=23000000\;both_collection_upper_bound=24000000\; > onlineSubPostingPopping_$2_$3_23M_24M_LOG&

./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_24M_25M\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_24M_25M\;dynamic_weight=$3\;both_collection_lower_bound=24000000\;both_collection_upper_bound=25000000\; > onlineSubPostingPopping_$2_$3_24M_25M_LOG&

./irtk --local --cat < commandValue --config-options=document_posting_values_output_file_name_binary=/home/vgc/wei/workspace/NYU_IRTK/data/$1/documentPostingArrays/gov2/$2/GOV2_documentPostingArray_25M_END\;all_postings_being_popped_file_prefix_name_binary=/home/vgc/wei/workspace/NYU_IRTK/results/$1/gov2/subPostingPopped_$2_$3_25M_END\;dynamic_weight=$3\;both_collection_lower_bound=25000000\;both_collection_upper_bound=25205179\; > onlineSubPostingPopping_$2_$3_24M_END_LOG&
